Accessory device, imaging apparatus, and communication control program

ABSTRACT

An imaging apparatus that provides, between itself and an accessory device, a notification channel used for notification from the imaging apparatus to the accessory device, a first data communication channel used in data transmission from the accessory device to the imaging apparatus, and a second data communication channel used in data transmission from the imaging apparatus to the accessory device. An accessory control unit executes switching of communication methods while notifying the imaging apparatus of a communication standby request for keeping data communication from the imaging apparatus to the accessory device from being performed, via the notification channel.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a Continuation of International Patent ApplicationNo. PCT/JP2017/012384, filed Mar. 27, 2017, which claims the benefit ofJapanese Patent Application No. 2016-072985, filed Mar. 31, 2016, bothof which are hereby incorporated by reference herein in their entirety.

TECHNICAL FIELD

The present invention relates to an imaging apparatus, and an accessorydevice such as an interchangeable lens or the like, which arecommunicable with each other.

BACKGROUND ART

There are known lens-replacement type camera systems where an imagingapparatus, which is the camera main body, performs imaging processingand lens control, and lens devices which are interchangeable lensesperform lens driving in accordance with control commands from the cameramain body. In such camera systems, transmission of control commands fromthe camera main body to the interchangeable lens, and transmission oflens information from the interchangeable lens to the camera main body,are performed via a communication channel for exchanging informationwith each other.

Of such lens-replacement type camera systems, digital camera systems inparticular require smooth lens control in accordance with imaging cycleswhen shooting moving images or taking live view images. Accordingly, theimaging timing of the camera main body and the control timing of theinterchangeable lens need to be synchronized, and the camera main bodyneeds to complete obtaining of lens information necessary for lenscontrol and transmission of control commands to the interchangeable lenswithin an imaging cycle.

PTL 1 discloses a clock-synchronized communication system made up ofthree channels, which are a clock channel, a data transmission channelfrom the camera main body to the interchangeable lens, and a datatransmission channel from the interchangeable lens to the camera mainbody. In this communication system, the camera main body serves as acommunication master to generate clock signals, and outputs one frame ofclock signals to the interchangeable lens via the clock channel. Theinterchangeable lens and the camera main body then exchange informationsynchronized with the clock signals.

However, in the communication system according to PTL 1, theinterchangeable lens serving as a communication slave cannot communicatedata to the camera main body unless it receives a transmission requestsignal from the camera main body serving as the communication master.

PTL 2 discloses an imaging system where the communication method ischanged to an asynchronous communication method, and where informationindicating that data communication will be performed can be transmittedfrom the interchangeable lens to the camera main body via the channelused as the clock channel in clock-synchronized communication.

CITATION LIST Patent Literature

PTL 1: Japanese Patent Laid-Open No. 9-304804

PTL 2: Japanese Patent Laid-Open No. 2010-266595

In the imaging system according to PTL 2, data communication isvoluntarily executed from the interchangeable lens to the camera mainbody via the channel used as a clock channel in clock-synchronizedcommunication, taking advantage of the fact that clock synchronizationsignals are unnecessary in an asynchronous communication method.

Such switching of communication methods between an asynchronouscommunication method and a clock-synchronized communication method for aparticular purpose is known, but PTL 2 does not disclose any particularswitching procedures of communication methods.

In order to switch between the above-described two communication methodsin an image system made up of three channels, appropriately settingswitching procedures for communication methods at the interchangeablelens and imaging apparatus is important.

It is an object of the present invention to realize an accessory deviceand imaging apparatus capable of executing switching of communicationmethods without leading to breakdown of communication, without addingnew channels.

SUMMARY OF INVENTION

An accessory device according to the present invention is an accessorydevice detachably mounted to an imaging apparatus, having an accessorycommunication unit that provides, between itself and the imagingapparatus, channels made up of a notification channel used fornotification between the imaging apparatus and the accessory device, afirst data communication channel (accessory data communication channel)used in data transmission from the accessory device to the imagingapparatus, and a second data communication channel (imaging apparatusdata communication channel) used in data transmission from the imagingapparatus to the accessory device, and an accessory control unit thatperforms control of the accessory communication unit. The imagingapparatus and the accessory device are each capable of switching acommunication state thereof between first settings corresponding to aclock-synchronized communication method that is synchronized with clocksignals, and second settings corresponding to an asynchronouscommunication method. In the first settings, in accordance with havingreceived a notification for switching from the first settings to thesecond settings from the imaging apparatus, the accessory control unitnotifies the imaging apparatus of a communication standby request forkeeping data communication from the imaging apparatus to the accessorydevice from being performed, via the notification channel. The accessorycontrol unit performs switching from the first settings to the secondsettings while notifying of the communication standby request.

An imaging apparatus according to the present invention is an imagingapparatus to which an accessory device is detachably mounted, having acamera communication unit that provides, between itself and theaccessory device, channels made up of a notification channel used fornotification from the imaging apparatus to the accessory device, a firstdata communication channel used in data transmission from the accessorydevice to the imaging apparatus, and a second data communication channelused in data transmission from the imaging apparatus to the accessorydevice, and a camera control unit that performs control of the cameracommunication unit. The imaging apparatus and the accessory device areeach capable of switching a communication state thereof between firstsettings corresponding to a clock-synchronized communication method thatis synchronized with clock signals, and second settings corresponding toan asynchronous communication method. The camera control unit performsswitching from the first settings to the second settings by receiving anotification indicating that switching for the first settings to thesecond settings at the accessory device has been completed, via thenotification channel.

Further features of the present invention will become apparent from thefollowing description of exemplary embodiments with reference to theattached drawings.

BRIEF DESCRIPTION OF DRAWINGS

FIG. 1 is a block diagram illustrating the configuration of a camerasystem including an imaging apparatus and an accessory device accordingto the present invention.

FIG. 2 is a schematic diagram illustrating communication circuitsbetween the imaging apparatus and accessory device.

FIGS. 3A through 3C are schematic diagrams illustrating communicationwaveforms in a communication mode M1.

FIG. 4 is a schematic diagram illustrating communication waveforms in acommunication mode M2.

FIGS. 5A through 5C are schematic diagrams illustrating communicationwaveforms in a communication mode M3.

FIG. 6 is a schematic diagram describing procedures for switching fromcommunication method A to communication method B.

FIG. 7 is a flowchart for describing procedures for switching fromcommunication method A to communication method B, and a datacommunication flow in communication method B.

DESCRIPTION OF EMBODIMENTS

A communication control method in an interchangeable lens serving as anaccessory device and a camera main body serving as an imaging apparatusaccording to the present invention will be described in detail withreference to the attached drawings. First, definition of terms in thepresent embodiment will be described.

“Communication format” indicates rules regarding the entirecommunication between the camera main body and the interchangeable lens.“Communication method” means the clock-synchronized method andasynchronous method, with the clock-synchronized method beingcommunication method A and the asynchronous method being communicationmethod B. “Data format” indicates whether or not a communication standbyrequest signal (BUSY signal) is added, with a data format where adding aBUSY signal is permitted is “format F1”, while a data format whereadding a BUSY signal is forbidden is “format F2”.

“Communication mode” means a combination of communication method anddata format, and the following three communication modes will bedescribed in the present embodiment. “Communication mode M1” is acommunication mode of communication method A and format F1, and“communication mode M2” is a communication mode of communication methodB and format F1. “Communication mode M3” is a communication mode ofcommunication method B and format F2.

The present invention is an invention regarding switching procedures forchanging the communication method from the clock-synchronized method(communication method A) to the asynchronous method (communicationmethod B). An imaging system having a camera main body andinterchangeable lens that are capable of communication with thecommunication method switched from communication method A tocommunication method B will be illustrated in the following embodiment.A configuration where the communication method can be appropriatelyswitched enables an imaging system to be realized in which anappropriate communication method can be selected in accordance with thecombination of camera main body and interchangeable lens. For example,in a case where the camera main body and interchangeable lens both arecompatible with communication method B, switching the communicationstate of each to settings corresponding to the communication method Brealizes data communication by the communication method B.

When executing clock-synchronized communication in an imaging systemmade up of three channels, there may be cases where the communicationmaster needs to be switched by time management between the camera mainbody that outputs clock signals and the interchangeable lens thatoutputs communication standby requests over the same channel.Accordingly, there is a need to provide time for switching thecommunication master in order to prevent collision of communication,i.e., a communication-invalid time during which communication cannot beperformed, which as a result may lead to delay in communication andcontrol.

FIG. 1 illustrates the configuration of an imaging system (hereinafterreferred to as camera system) including a camera main body 200 servingas an imaging apparatus that is the first embodiment of the presentinvention, and an interchangeable lens 100 serving as an accessorydevice detachably mounted thereto.

The camera main body 200 and interchangeable lens 100 performtransmission of control commands and internal information viacommunication units that each has. Each communication unit supportsmultiple communication formats, and is capable of selecting an optimalcommunication format under various situations by synchronously switchingto the same communication format as each other in accordance with thetype of communication data and purpose of communication.

First, a specific configuration of the interchangeable lens 100 andcamera main body 200 will be described. The interchangeable lens 100 andcamera main body 200 are mechanically and electrically connected via amount 300 that is a coupling mechanism. The interchangeable lens 100receives supply of power from the camera main body 200 via power sourceterminal, omitted from illustration, provided to the mount 300, andcontrols later-described actuators of various types, and a lensmicroprocessor 111. The interchangeable lens 100 and camera main body200 communicate with each other via communication terminals (illustratedin FIG. 2) provided to the mount 300.

The interchangeable lens 100 has an imaging optical system. The imagingoptical system includes, in order from an object OBJ side, a field lens101, a zoom lens 102 that changes zoom power, a diaphragm unit 114 thatadjusts the quantity of light, an image stabilization lens 103, and afocus lens 104 that performs focal point adjustment.

The zoom lens 102 and focus lens 104 are respectively held by lensholding frames 105 and 106. The lens holding frames 105 and 106 aremovably guided in the optical axis direction, illustrated in the diagramas a dotted line, by a guide shaft omitted from illustration, and aredriven in the optical axis direction by respective stepping motors 107and 108. The stepping motors 107 and 108 move the zoom lens 102 andfocus lens 104 synchronously with driving pulses.

The image stabilization lens 103 reduces image blurring due to shakingof hands and so forth, by moving in a direction orthogonal to theoptical axis of the imaging optical system.

The lens microprocessor 111 is an accessory control unit for controllingoperations of the parts within the interchangeable lens 100. The lensmicroprocessor 111 receives control commands transmitted from the cameramain body 200, and receives transmission requests for lens data, via alens communication unit 112 serving as an accessory communication unit.The lens microprocessor 111 performs lens control corresponding to thecontrol commands, and transmits lens data corresponding to transmissionrequests to the camera main body 200 via the lens communication unit112.

The lens microprocessor 111 also outputs driving signals to a zoom drivecircuit 119 and focus drive circuit 120, in response to commandsrelating to zooming and focusing, out of the control commands, therebydriving the stepping motors 107 and 108. Accordingly, zoom processingwhere zooming operations by the zoom lens 102 are controlled, andautofocus processing where focal point adjustment operations by thefocus lens 104 are controlled, are carried out.

The diaphragm unit 114 is configured including diaphragm blades 114 aand 114 b. The state of the diaphragm blades 114 a and 114 b is detectedby a Hall effect device 115, and input to the lens microprocessor 111via an amplifying circuit 122 and an A/D conversion circuit 123. Thelens microprocessor 111 outputs drive signals to a diaphragm drivediaphragm circuit 121 based on input signals from the A/D conversioncircuit 123, and drives a diaphragm actuator 113. Accordingly, lightquantity adjustment operations by the diaphragm unit 114 are controlled.

Further, the lens microprocessor 111 drives an anti-vibration actuator126 via an anti-vibration drive circuit 125 in accordance with shakingdetected by an unshown shaking sensor such as a vibration gyro or thelike provided within the interchangeable lens 100. Accordingly,anti-vibration processing that controls shifting operations of the imagestabilization lens 103 is performed.

The camera main body 200 has an imaging device 201 such as a CCD sensoror CMOS sensor or the like, an A/D conversion circuit 202, a signalprocessing circuit 203, a recording unit 204, a camera microprocessor205, and a display unit 206.

The imaging device 201 performs photoelectric conversion of a subjectimage formed by the imaging optical system within the interchangeablelens 100, and outputs electric signals (analog signals). The A/Dconversion circuit 202 coverts analog signals from the imaging device201 into digital signals. The signal processing circuit 203 subjectsdigital signals from the A/D conversion circuit 202 to various types ofimage processing, and generates video signals.

The signal processing circuit 203 also generates luminance informationindicating the contrast state of the subject image from the videosignals, i.e., focus information indicating the focal state of theimaging optical system and the exposure state. The signal processingcircuit 203 outputs the video signals to the display unit 206, and thedisplay unit 206 displays the video signals as a live preview image usedfor confirming the composition, focus state, and so forth, of the videosignals.

The camera microprocessor 205 serving as a camera control unit performscontrol of the camera main body 200 in accordance with input from cameraoperating members, such as an imaging instructing switch, various typesof setting switches, and so forth, that are omitted from illustration.The camera microprocessor 205 also transmits control commands relatingto zooming operations of the zoom lens 102 in accordance with operationof an unshown zoom switch to the lens microprocessor 111, via a cameradata transmission/reception unit 208 b. The camera microprocessor 205further transmits control commands relating to light quantity adjustmentoperations of the diaphragm unit 114 in accordance with luminanceinformation, and focal point adjustment operations of the focus lens 104in accordance with focus information, to the lens microprocessor 111 viathe camera data transmission/reception unit 208 b.

Next, communication circuits configured between the camera main body 200and interchangeable lens 100, and communication control performedtherebetween, will be described with reference to FIG. 2. The cameramicroprocessor 205 has a function of managing communication formatsbetween itself and the lens microprocessor 111, and a function ofnotifying the lens microprocessor 111 of transmission requests and soforth. The lens microprocessor 111 also has a function of generatinglens data and a function of transmitting the lens data.

The camera microprocessor 205 and lens microprocessor 111 performcommunication through communication terminals provided to the mount 300,and communication interface circuits 208 a and 112 a provided to eachrespectively. Here, the communication interface circuit 208 a and cameradata transmission/reception unit 208 b will be collectively referred toas a camera communication unit 208, and the communication interfacecircuit 112 a and a lens data transmission/reception unit 112 b will becollectively referred to as the lens communication unit 112.

In the present embodiment, the camera microprocessor 205 and the lensmicroprocessor 111 perform serial communication by three-linecommunication method A and communication method B using three channels.

One of the above-described three channels is the clock channel in thecommunication method A, and is a notification channel serving as atransmission request channel in the communication method B. One of theremaining two channels is a first data communication channel that isused for lens data transmission from the lens microprocessor 111 to thecamera microprocessor 205. The other one channel is a second datacommunication channel used for transmission of camera data from thecamera microprocessor 205 to the lens microprocessor 111. Lens datatransmitted from the lens microprocessor 111 to the cameramicroprocessor 205 as signals over the first data communication channelwill be referred to as lens data signals DLC. Camera data transmittedfrom the camera microprocessor 205 to the lens microprocessor 111 assignals over the second data communication channel will be referred toas camera data signals DCL.

First, communication by the communication method A will be described. Inthe communication method A, clock signals LCLK are output from thecamera microprocessor 205 serving as the communication master to thelens microprocessor 111 serving as a communication slave, via the clockchannel. The camera data signals DCL include control commands,transmission request commands, and so forth, from the cameramicroprocessor 205 to the lens microprocessor 111.

On the other hand, the lens data signals DLC include various types ofdata transmitted from the lens microprocessor 111 to the cameramicroprocessor 205 synchronously with the clock signals LCLK. The cameramicroprocessor 205 and the lens microprocessor 111 are capable ofcommunicating by the full-duplex communication system where transmissionand reception is performed mutually and simultaneously insynchronization with common clock signals LCLK.

FIGS. 3A through 3C illustrate waveforms of signals exchanged betweenthe camera microprocessor 205 and lens microprocessor 111. Rules decidedfor procedures for this exchange are referred to as a communicationprotocol.

FIG. 3A illustrates signal waveforms of one frame, that is the smallestincrement of communication. First, the camera microprocessor 205 outputsclock signals LCLK of which clock pulses of eight cycles is one set, andtransmits camera data signals DCL to the lens microprocessor 111synchronously with the clock signals LCLK. At the same time, the cameramicroprocessor 205 receives the lens data signals DLC output from thelens microprocessor 111 synchronously with the clock signals LCLK.

Thus, one byte (eight bits) of data is transmitted and received betweenthe lens microprocessor 111 and camera microprocessor 205 synchronouslywith the ones set of clock signals LCLK. The period fortransmission/reception of one byte of data is called a data frame. Aftertransmission/reception of this one byte of data, the lens microprocessor111 transmits a signal notifying a communication standby request BUSY tothe camera microprocessor 205 (hereinafter referred to as a BUSYsignal), whereby a communication standby period is inserted. Thiscommunication standby period is referred to as a BUSY frame, and thecamera microprocessor 205 is in a communication standby state whilereceiving the BUSY frame. A communication increment of one set of dataframe period and BUSY fame period makes of one frame. Depending on thecommunication state, there are cases where no BUSY frame is added, inwhich cases one frame is made up of just the data frame period.

FIG. 3B illustrates the signal waveforms when the camera microprocessor205 transmits a request command CMD1 to the lens microprocessor 111, andreceives corresponding two-byte lens data DT1 (DT1 a, DT1 b) from thelens microprocessor 111. FIG. 3B illustrates an example of datacommunication being executed in accordance with “communication CMD1”

Types of lens data DT and byte counts corresponding to each of multipletypes of commands CMD are stipulated beforehand regarding the cameramicroprocessor 205 and lens microprocessor 111. When the cameramicroprocessor 205 that is the communication master transmits aparticular command CMD to the lens microprocessor 111, the lensmicroprocessor 111 transmits a clock count that is necessary based onthe lens data byte count corresponding to this command CMD to the cameramicroprocessor 205. The processing of the lens microprocessor 111 inaccordance with the command CMD1 includes superimposing a BUSY signal onthe clock signals LCLK in each frame, with the above-described BUSYframe being inserted between the data frames.

In communication CMD1, the camera microprocessor 205 transmits clocksignals LCLK to the lens microprocessor 111, and further transmits arequest command CMD1 requesting transmission of lens data DT1 to thelens microprocessor 111 as camera data signals DCL. The lens datasignals DLC in this frame is handled as invalid data.

Next, after having output eight cycles of clock signals LCLK over theclock channel, the camera microprocessor 205 switches the clock channelat the camera microprocessor side (camera main body side) from outputsettings to input settings. Upon the switching of the clock channel atthe camera microprocessor side being completed, the lens microprocessor111 switches the clock channel at the lens microprocessor 111 side(interchangeable lens side) from input settings to output settings. Thelens microprocessor 111 then sets the voltage level of the clock channelto Low, to notify the camera microprocessor 205 of a communicationstandby request BUSY. Accordingly, a BUSY signal is superimposed on theclock channel. During the period in which the communication standbyrequest BUSY is being notified, the camera microprocessor 205 maintainsinput settings of the clock channel, and stops communication to the lensmicroprocessor 111.

The lens microprocessor 111 generates lens data DT1 corresponding to thetransmission request command CMD1 during notification of thecommunication standby request BUSY. Upon preparation for transmittingthe lens data DT1 as the lens data signals DLC of the next frame, thesignal level of the clock channel at the lens microprocessor side isswitched to High, and the communication standby request BUSY iscancelled.

Upon recognizing the cancellation of the communication standby requestBUSY, the camera microprocessor 205 transmits one frame of clock signalsLCLK to the lens microprocessor 111, thereby receiving lens data DT1 afrom the lens microprocessor 111. The camera microprocessor 205 that hasoutput eight cycles of clock signals LCLK again in the next frame, andthe lens microprocessor 111 repeats the same operations as describedabove, whereby the camera microprocessor 205 receives lens data DT1 bfrom the lens microprocessor 111.

FIG. 3C illustrates signal waveforms when the camera microprocessor 205transmits a request command CMD2 to the lens microprocessor 111 andreceives three bytes of lens data DT2 (DT2 a through DT2 c)corresponding thereto from the lens microprocessor 111. FIG. 3Cillustrates an example of data communication being executed inaccordance with communication CMD2. The processing of the lensmicroprocessor 111 in accordance with the request command CMD2 in thiscommunication CMD2 includes superimposing a BUSY signal on the clockchannel only in the first frame. That is to say, the lens microprocessor111 does not superimpose a BUSY signal on the subsequent second framethrough fourth frame.

Accordingly, no BUSY frame is inserted between frames from the secondframe through the fourth frame, and the standby period between framescan be reduced. However, the lens microprocessor 111 cannot transmit acommunication standby request to the camera microprocessor 205 duringperiods where BUSY frames are not inserted. Accordingly, the data countfor transmission, transmission intervals, the order of priority ofcommunication processing within the lens microprocessor 111, and soforth, need to be decided beforehand, so that there is no breakdown ofcommunication as a result.

Next, the communication method B will be described. The communicationmode M2 where communication is performed by format F1 using thecommunication method B will be described as well. FIG. 4 illustrateswaveforms of communication signals exchanged between the cameramicroprocessor 205 and the lens microprocessor 111 in the communicationmode M2. Adding a BUSY frame to the lens data signals DLC is permittedin the format F1, as described earlier.

The transmission request channel is used for notification of lens datatransmission requests and so forth, from the camera microprocessor 205serving as the communication master to the lens microprocessor 111serving as a communication slave, in the communication method B.Notification over the transmission request channel is performed byswitching the level (voltage level) of signals on this transmissionrequest channel between High (first level) and Low (second level). Inthe following description, signals supplied to the transmission requestchannel in the communication method B will be referred to astransmission request signals RTS.

The first data communication channel is used for transmission of lensdata signals DLC including various types of data from the lensmicroprocessor 111 to the camera microprocessor 205, in the same way aswith the communication method A. The second data communication channelis also used for transmission of camera data signals DCL includingcontrol commands and transmission request commands and so forth from thecamera microprocessor 205 to the lens microprocessor 111, in the sameway as in communication method A.

Unlike the communication method A, the camera microprocessor 205 andlens microprocessor 111 have the communication speed set beforehand andtransmit/receive at a communication bitrate based on this setting in thecommunication method B, instated of performing datatransmission/reception synchronously with common clock signals. Thecommunication bitrate indicates the amount of data that can betransmitted per second, and the unit is expressed as bps (bits persecond).

Note that in the present embodiment, the camera microprocessor 205 andlens microprocessor 111 communicate by the full-duplex communicationsystem where mutual transmission/reception is performed in thiscommunication method B, in the same way as with the communication methodA.

FIG. 4 illustrates signal waveforms of one frame, that is the smallestincrement of communication. The breakdown of the data format of oneframe partially differs between the camera data signals DCL and lensdata signals DLC.

First, the data format of the lens data signals DLC will be described.One frame of lens data signals DLC is made up of the data frame at thefirst half and the subsequent BUSY frame. The signal level of the lensdata signals DLC is maintained at High in a state where datatransmission is not being performed.

The lens microprocessor 111 sets the voltage level of the lens datasignals DLC to LOW for a period of one bit, in order to notify thecamera microprocessor 205 of the start of transmission of one frame ofthe lens data signals DLC. This one-bit period is called a start bit ST,and the data frame is started from the start bit ST. The lensmicroprocessor 111 subsequently transmits one byte of lens data in aneight-byte period from the second bit following the start bit ST throughthe ninth bit.

The array of data bits is an MSB (Most Significant Bit)-first format,starting from the highest order data D7, continuing in order to data D6,data D5, and ends on the lowest order data D0. The lens microprocessor111 then adds one bit of parity information (PA) at the tenth bit, andsets the voltage level of the lens data signals DLC to HIGH for theperiod of a stop bit SP indicating the last of one frame. Thus, the dataframe period started from the start bit ST is ended. Note that theparity information does not have to be one bit, and that parityinformation of multiple bits may be added. The parity information is notindispensable either, and a format may be used where parity informationis not added.

Next, the lens microprocessor 111 adds a BUSY frame after the stop bitSP, as indicated by “DLC (WITH BUSY)” in the drawing. The BUSY frameindicates the period of communication standby request BUSY where thelens microprocessor 111 notifies the camera microprocessor 205, in thesame way as in the communication method A. The lens microprocessor 111maintains the signal level of the lens data signals DLC to Low, untilthe communication standby request BUSY is cancelled.

On the other hand, there are cases where notification of communicationstandby request BUSY from the lens microprocessor 111 to the cameramicroprocessor 205 is unnecessary. Accordingly, a data format where oneframe is configured without adding a BUSY frame (hereinafter alsoreferred to as BUSY notification) is also provided for such cases, asindicated by “DLC (WITHOUT BUSY)” in the drawing. That is to say,selection can be made regarding the data format of the lens data signalsDLC between one with a BUSY notification added and one not added, inaccordance with the processing situation at the lens microprocessorside.

Description will be made regarding the method of the cameramicroprocessor 205 identifying between whether or not there is a BUSYnotification. The signal waveform indicated in “DLC (WITHOUT BUSY)” inFIG. 4 and the signal waveform indicated in “DLC (WITH BUSY)” in FIG. 4include bit positions B1 and B2. The camera microprocessor 205 selectsone of the bit positions B1 and B2 as a BUSY identification position Pfor identifying whether or not there is a BUSY notification. In thisway, the present embodiment employs a data format where the BUSYidentification position P is selected from bit positions B1 and B2.Thus, the problem of different processing times from transmission of thelens data signals DLC data frame until the BUSY notification (DLC isLow) is finalized, depending on the processing capabilities of the lensmicroprocessor 111, can be handled.

Whether the bit position B1 or the bit position B2 is to be the BUSYidentification position P is decided by communication between the cameramicroprocessor 205 and lens microprocessor 111 before performingcommunication by communication method B. Note that the BUSYidentification position P does not need to be fixed to one bit positionof B1 and B2, and may be changed in accordance with the processingcapabilities of the camera microprocessor 205 and lens microprocessor111. Also note that the BUSY identification position P is not restrictedto B1 or B2, and may be set at a predetermined location after the stopbit SP.

Now, the reason why the BUSY frame added to the clock signals LCLK incommunication method A is added to the lens data signals DLC incommunication method B as a data format will be described.

In the communication method A, the clock signals LCLK output by thecamera microprocessor 205 that is the communication master and the BUSYsignal output by the lens microprocessor 111 that is a communicationslave need to be exchanged over the same clock channel. Accordingly,collision of the outputs of the camera microprocessor 205 and lensmicroprocessor 111 is prevented by time division. That is to say,collision of the outputs can be prevented by appropriately assigningoutputtable periods for the camera microprocessor 205 and lensmicroprocessor 111 in the clock channel.

However, in this time division method, collision of the outputs of thecamera microprocessor 205 and lens microprocessor 111 needs to beprevented in a sure manner. To this end, a certain output-forbiddenperiod where output of the microprocessors 205 and 111 is forbidden isinserted between the point in time at which the camera microprocessor205 has completed output of the eight pulses of clock signals LCLK andthe point in time at which output of a BUSY signal by the lensmicroprocessor 111 is permitted. This output-forbidden period is acommunication invalid period where the camera microprocessor 205 andlens microprocessor 111 cannot communicate, and thus leads todeterioration of effective communication speed.

In order to solve this problem, the communication method B employs thedata format where the BUSY frame from the lens microprocessor 111 isadded to the lens data signals DLC on the first data communicationchannel, which is a dedicated output channel for the lens microprocessor111.

Next, the data format of the camera data signals DCL will be described.The specification of one data frame is the same as with the lens datasignals DLC. However, adding of the BUSY frame to the camera datasignals DCL is forbidden, unlike the lens data signals DLC.

Next, the procedures of communication by the communication method Bbetween the camera microprocessor 205 and lens microprocessor 111 willbe described. First, when an event occurs to start communication withthe lens microprocessor 111, the camera microprocessor 205 sets thevoltage level of the transmission request signals RTS to Low(hereinafter, this will be referred to as asserting a transmissionrequest signal RTS), thereby notifying a communication request to thelens microprocessor 111. Upon detecting the communication request by thevoltage level of transmission request signals RTS having changed to Low,the lens microprocessor 111 preforms generating processing of lens datasignals DLC to transmit to the camera microprocessor 205. Oncetransmission preparation of the lens data signals DLC has been made,transmission of one frame of lens data signals DLC is started via thefirst data communication channel. Now, the lens microprocessor 111starts transmission of the lens data signals DLC within the set timethat has been mutually set between the camera microprocessor 205 and thelens microprocessor 111, from the point in time that the voltage levelof the transmission request signals RTS has gone to Low.

That is to say, it is sufficient in the communication method B for thelens data to be transmitted to be finalized between the point in timethat the voltage level of the transmission request signals RTS goes toLow up to transmission of the lens data signals DLC being started. Thereare no strict restrictions as with the communication method A, where thelens data to be transmitted has to be finalized by the point in time atwhich the first clock pulse is input, so the timing at which to starttransmitting the lens data signals DLC can be given more freedom.

Next, the camera microprocessor 205 returns the voltage level of thetransmission request signals RTS to High, in accordance with detectionof the start bit ST added to the head of the lens data signals DLC dataframe received from the lens microprocessor 111. Hereafter, this will bereferred to as negating the transmission request signal RTS.Accordingly, the transmission request is cancelled, and transmission ofthe camera data signals DCL over the second communication channel isstarted. Note that either of negating transmission request signals RTSand starting transmission of camera data signals DCL may be first, andthat it is sufficient for this to be performed by the time thatreception of the lens data signals DLC data frame is completed.

In a case where the lens microprocessor 111 that has transmitted thelens data signals DLC data frame needs to notify the cameramicroprocessor 205 of a communication standby request BUSY, a BUSY frameis added to the lens data signals DLC. The camera microprocessor 205monitors whether or not there are communication standby request BUSYnotifications, and asserting transmission request signals RTS isforbidden while a communication standby request BUSY is being notified,for the next transmission request.

The lens microprocessor 111 executes necessary processing during theperiod where communication from the camera microprocessor 205 has beenput on standby by the communication standby request BUSY, and thecommunication standby request BUSY is cancelled after preparation forthe next communication is ready. The camera microprocessor 205 ispermitted to assert transmission request signals RTS for the nexttransmission request, under the conditions that the communicationstandby request BUSY has been cancelled and that transmission of thecamera data signals DCL data frame has been completed.

Thus, according to the present embodiment, the lens microprocessor 111starts transmission of a lens data signals DLC data frame to the cameramicroprocessor 205 in accordance with transmission request signals RTShaving been asserted with a communication start event at the cameramicroprocessor 205 as a trigger. The camera microprocessor 205 thenstarts transmission of a camera data signals DCL data frame to the lensmicroprocessor 111 in accordance with having detected the start bit STof the lens data signals DLC.

The lens microprocessor 111 adds a BUSY frame after the lens datasignals DLC data frame for a communication standby request BUSY asnecessary, and hereafter cancels the communication standby request BUSY,thereby completing communication processing of one frame. According tothis communication processing, one byte of communication data ismutually exchanged between the camera microprocessor 205 and lensmicroprocessor 111.

Next, the communication mode M3 where communication is performed by theformat F2 using the communication method B will be described. FIG. 5Aillustrates waveforms of the communication signals exchanged between thecamera microprocessor 205 and lens microprocessor 111 in thecommunication mode M3. In FIG. 5A, the waveforms for communicationsignals in a case of consecutively transmitting three frames of data areillustrated. Adding a communication standby request BUSY to lens datasignals DLC is forbidden in format F2, as described earlier.

In the lens data signals DLC data format in the communication mode M3,one frame is made up of a data frame alone, and here is no BUSY frame.Accordingly, the lens microprocessor 111 cannot notify the cameramicroprocessor 205 of a communication standby request BUSY in thecommunication mode M3.

This format F2 is used for usages of performing continuous communicationwith reduced inter-frame intervals, when transferring relatively largeamounts of data between the camera microprocessor 205 and lensmicroprocessor 111. That is to say, the format F2 enables large amountsof data to be communicated at high speeds.

Next, the communication control processing between the cameramicroprocessor 205 and lens microprocessor 111 that is a feature of thepresent embodiment will be described. FIG. 5B illustrates waveforms ofcommunication signals when each of the camera microprocessor 205 andlens microprocessor 111 consecutively transmit and receive n frames ofcamera data signals DCL and lens data signals DLC. The cameramicroprocessor 205 asserts transmission request signals RTS when anevent of starting communication with the lens microprocessor 111 occurs.In the format F2, the camera microprocessor 205 does not need to negatethe transmission request signals RTS in each frame, unlike with theformat F1. Accordingly, the state of asserting transmission requestsignals RTS is maintained as long as a state where data can beconsecutively transmitted/received.

Upon detecting a communication request by asserting of transmissionrequest signals RTS, the lens microprocessor 111 performs processing togenerate lens data signals DLC to transmit to the camera microprocessor205. Once preparation for transmission of the lens data signals DLC isready, transmission of the first frame of lens data signals DLC (DL1) isstarted over the first data communication channel.

The lens microprocessor 111 that has transmitted the first frame of thelens data signals DLC data frame confirms the transmission requestsignals RTS again. In a case where the transmission request signals RTSare in an asserted state, the lens microprocessor 111 transmits thesecond frame of lens data signals DLC (DL2) to the camera microprocessor205 in succession after the first frame of which transmission has beencompleted. Thus, the lens data signals DLC (DL1 through DLn) aresuccessively transmitted to the camera microprocessor 205 from the lensmicroprocessor 111 as long as the asserted state of transmission requestsignals RTS is maintained. Once transmission of the predetermined numberof frames n has been completed, transmission of lens data signals DLC isstopped.

In response to detection of the start bit ST for each frame of lens datasignals DLC from the lens microprocessor 111 being detected, the cameramicroprocessor 205 starts transmission of n frames of camera datasignals DCL (DC1 through DCn) over the second communication channel.

FIG. 5C illustrates waveforms of communication signals in a case where atemporary communication standby has been instructed from the cameramicroprocessor 205 or lens microprocessor 111 during the communicationof consecutive data exchange illustrated in FIG. 5B. In this case aswell, the lens microprocessor 111 starts transmission of lens datasignals DLC due to transmission request signals RTS being asserted bythe camera microprocessor 205, and the camera microprocessor 205 startstransmission of camera data signals DCL in accordance with detection ofa start bit ST thereof.

T2 w 1 indicates a communication standby period that is a periodregarding which communication standby has been instructed from thecamera microprocessor 205, this instruction being notified to the lensmicroprocessor 111 by temporary negation of transmission request signalsRTS. Upon detecting that the transmission request signals RTS have beennegated, the lens microprocessor 111 pauses transmission after havingcompleted transmission of the frame of lens data signals DLC that isbeing transmitted at the time of detection (DL6 in the drawing:hereinafter referred to as a pause frame).

In response to the pausing of transmission of lens data signals DLC, thecamera microprocessor 205 also pauses transmission of the camera datasignals DCL after having transmitted the frame corresponding to theabove pause frame (DC6), out of the camera data signals DCL. Accordingto this communication control, management can be performed so that thenumber of transmitted frames of lens data signals DLC and camera datasignals DCL can be made to be the same even if a communication standbyinstruction occurs during communication of consecutive data exchange.

Once the communication standby request event is gone, the cameramicroprocessor 205 can instruct resuming of communication to the lensmicroprocessor 111, by asserting the transmission request signals RTSagain. Transmission of lens data signals DLC by the lens microprocessor111 is resumed from the next frame (DL7: hereinafter referred to asresume frame) after the pause frame, in accordance with thecommunication resume instruction. Upon detecting the start bit ST of theresume frame, the camera microprocessor 205 resumes transmission ofcamera data signals DCL from the frame (DC7) corresponding to the resumeframe above.

On the other hand, T2 w 2 represents a communication standby periodwhich is a period that communication standby has been instructed by thelens microprocessor 111. After ending of the communication standbyperiod T2 w 1 in the drawings, neither the camera microprocessor 205 northe lens microprocessor 111 has instructed communication standby, andthe above-described resume frames DL7 and DC7, and subsequent framesDL8, DC8 through DL9, and DC9, are subjected to consecutive datatransmission/reception, in that order.

When transmission of frame DL9 within the lens microprocessor 111(reception of the frame DC9 at the camera microprocessor 205) iscompleted, a communication standby request event occurs, whereby thelens microprocessor 111 notifies the camera microprocessor 205 of acommunication standby instruction.

When the transmission request signals RTS are in an asserted state, thelens microprocessor 111 does not transmit lens data signals DLC, therebynotifying the camera microprocessor 205 from the lens microprocessor 111that communication will be paused.

The camera microprocessor 205 constantly monitors the start bit ST ofeach frame in the lens data signals DLC, and is stipulated such that, ina case where the start bit ST is not detected, transmission of the nextframe of camera data signals DCL is stopped. In a case where the cameramicroprocessor 205 does not receive lens data signals DLC from the lensmicroprocessor 111 (DL10 in the drawing) even though it is assertingtransmission request signals RTS, communication is paused withouttransmitting the camera data signals DCL (DC10). Note that the cameramicroprocessor 205 maintains the transmission request signals RTS in anasserted state during the communication standby period T2 w 2 underinstruction from the lens microprocessor 111.

Thereafter, the communication standby request event in the lensmicroprocessor 111 is gone, and the lens microprocessor 111 resumestransmission of the resume frame DL10 of the lens data signals DLC. Thecamera microprocessor 205 resumes transmission of the correspondingframe DC10 in the camera data signals DCL in accordance with havingdetected the start bit ST of this resume frame DL10.

Next, the procedures of switching from the communication method A tocommunication method B, which is a feature of the present invention,with reference to FIG. 6. FIG. 6 illustrates waveforms of communicationsignals exchanged between the camera microprocessor 205 and lensmicroprocessor 111 before and after switching from communication methodA to communication method B. When switching from communication method Ato communication method B, the camera microprocessor 205 changes thecommunication state of the camera communication unit from first settingscorresponding to the communication method A to second settingscorresponding to the communication method B. In the same way, the lensmicroprocessor 111 changes the communication state of the lenscommunication unit from first settings corresponding to thecommunication method A to second settings corresponding to thecommunication method B.

At the switchover timing X illustrated in FIG. 6, the switching ofcommunication state is completed at the camera microprocessor 205 andlens microprocessor 111, and thereafter, communication is performed bycommunication method B. As described above, the notification channelfunctions as a clock channel in communication method A, and functions asa transmission request channel in communication method B.

In the present embodiment, the lens microprocessor 111 that is acommunication slave in the communication method A performs changing tothe second settings corresponding to the communication method B beforethe camera microprocessor 205 that is the communication master.

Switching of the communication method is performed by instruction fromthe camera microprocessor 205. The camera microprocessor 205 transmits anotification to switch from communication method A to communicationmethod B, by communication by the communication method A via the seconddata communication channel. This switching notification is containedwithin a data frame. The lens microprocessor 111 that has received theswitching notification superimposes a BUSY signal on the clock channel,thereby notifying the communication standby request BUSY to the cameramicroprocessor 205. The communication state of the lens microprocessor111 is then changed from the first settings corresponding to thecommunication method A to the second settings corresponding to thecommunication method B, while the camera microprocessor 205 is beingnotified of the communication standby request BUSY.

When switching of the communication method at the lens microprocessor111 is complete, the lens microprocessor 111 cancels the communicationstandby request BUSY, and monitors whether or not there is notificationof transmission request signals RTS in the communication method B.

Upon the communication standby request BUSY being cancelled, the cameramicroprocessor 205 changes the communication state of the cameramicroprocessor 205 from the first settings corresponding to thecommunication method A to the second settings corresponding to thecommunication method B and monitors whether or not there is acommunication event occurring in the communication method B. The timingof completion of switching to the communication method B at the cameramicroprocessor 205 is the switchover timing X, as illustrated in FIG. 6.After the switchover timing X, data communication is executed by thecommunication method B, as described with reference to FIG. 4.

A configuration is employed in the present invention where the lensmicroprocessor 111 serving as a communication slave changes from thefirst settings to the second settings before the camera microprocessor205 serving as the communication master, as described earlier. Whetherthe lens microprocessor 111 can immediately execute change to the secondsettings is unclear, so the camera microprocessor 205 executes changefrom the first settings to the second settings upon having confirmedthat the lens microprocessor 111 has changed to the second settings.

If the camera microprocessor 205 executes change to the second settingswithout confirming that the lens microprocessor 111 has executed changeto the second settings, a situation may occur where the communicationmethods differ between the interchangeable lens 100 and camera main body200, and communication cannot be established between the two. In thepresent invention, the camera microprocessor 205 executes change fromthe first settings to the second settings upon having confirmed that thelens microprocessor 111 has changed to the second settings, therebypreventing the above-described situation from occurring.

The lens microprocessor 111 changes the communication state of the lensmicroprocessor 111 from the first settings to the second settings, whilethe camera microprocessor 205 is being notified of the communicationstandby request BUSY. Accordingly, the communication state can bechanged in a state where no clock signals LCLK are output from thecamera microprocessor 205, and a situation where collision ofcommunication occurs between the camera microprocessor 205 and lensmicroprocessor 111 can be avoided.

Note that the lens microprocessor 111 does not necessarily have toswitch communication methods in according with notification to switchfrom communication method A to communication method B, and anarrangement may be made where switching of communication methods isrefused. For example, after having received a switching notificationfrom the camera microprocessor 205, a notification indicating refusal toswitch communication methods is transmitted via the first datacommunication channel. The camera microprocessor 205 that has receivedthis can maintain communication with the lens microprocessor 111 in thecommunication method A, without changing the communication state.Accordingly, in a case where the lens microprocessor 111 cannotimmediately execute change to the second settings, a situation where thecamera microprocessor 205 that has executed change from the firstsettings to the second settings has to immediately execute change to thefirst settings again can be avoided.

Next, procedures for switching from communication method A tocommunication method B, and a data communication flow in communicationmethod B, will be described with reference to FIG. 7. The cameramicroprocessor 205 and lens microprocessor 111 perform the communicationcontrol of the flowchart in FIG. 7, following a communication controlprogram that is a computer program. Note that “S” in FIG. 7 means step.

The camera microprocessor 205 monitors whether or not a communicationmethod switching event from communication method A to communicationmethod B has occurred, and in a case where a switching event hasoccurred in step S110, advances to step S111. In step S111, acommunication method switching notification is transmitted to the lensmicroprocessor 111 via the second data communication channel.

The lens microprocessor 111 monitors whether or not a switchingnotification has been transmitted, and upon having received theswitching notification in step S210 (YES in step S210), superimposes aBUSY signal on the clock channel, and advances to step S212. In stepS212, the communication state of the lens microprocessor 111 is changedfrom the first settings corresponding to the communication method A tothe second settings corresponding to the communication method B, andfurther, the communication standby request BUSY is cancelled in stepS213.

In accordance with the communication standby request BUSY having beencancelled, the camera microprocessor 205 changes the communication stateof the camera microprocessor 205 from the first settings correspondingto the communication method A to the second settings corresponding tothe communication method B, in step S112. Accordingly, the communicationstates of both the camera microprocessor 205 and lens microprocessor 111are changed to the second settings corresponding to the communicationmethod B, and thereafter, communication is performed by thecommunication method B.

Hereinafter, the communication flow by the communication method B willbe described. The camera microprocessor 205 monitors whether or not acommunication event for starting communication with the lensmicroprocessor 111 has occurred, and in a case where a communicationevent has occurred in step S113, advances to step S114. Transmissionrequest signals RTS are asserted in step S114 as described so far,thereby placing a communication request with the lens microprocessor111.

The lens microprocessor 111 monitors whether or not there has beenassertion of transmission request signals RTS, and upon recognizing thatthere has been assertion of transmission request signals RTS in stepS214, advances to step S215. In step S215, the lens microprocessor 111transmits lens data signals DLC to the camera microprocessor 205 via thefirst data communication channel.

Upon detecting start of reception of lens data signals DLC (YES in stepS115), the camera microprocessor 205 advances to step S116, and negatestransmission request signals RTS. The flow then advances to step S117,and camera data signals DCL are transmitted to the lens microprocessor111 via the second data communication channel.

Upon detecting start of reception of camera data signals DCL in stepS216, the lens microprocessor 111 advances to step S217, and performsreception processing of the camera data signals DCL. In parallel withthe processing of step S217, determination is made in step S218regarding whether or not there is need to notify the cameramicroprocessor 205 of a communication standby request BUSY. In a casewhere there is no need to make notification of a communication standbyrequest BUSY, the flow advances to step S222, and stands by untilreception of the camera data signals DCL ends.

On the other hand, in a case where there is a need for the lensmicroprocessor 111 to notify the camera microprocessor 205 of acommunication standby request BUSY, the flow advances to step S219, anda BUSY frame is added to the lens data signals DLC. The lensmicroprocessor 111 executes necessary processing while notification ofthe communication standby request BUSY is being notified, and afterpreparation for the next communication has been completed (Yes in stepS220), the communication standby request BUSY is cancelled (S221). Afterhaving canceled the communication standby request BUSY, the flowadvances to step S222, and stands by until reception of the camera datasignals DCL is completed. Upon reception of the camera data signals DCLis complete (Yes in step S222), the flow returns to step S214, andmonitoring of whether transmission request signals RTS have beenasserted is continued.

Upon having received the communication standby request BUSY in stepS118, the camera microprocessor 205 stands by until the communicationstandby request BUSY is cancelled. When the communication standbyrequest BUSY is cancelled (YES in step S119), the flow advances to stepS120, and determination is made regarding whether or not transmission ofthe camera data signals DCL has been completed. Even in a case wherenotification of a communication standby request BUSY has not beenreceived in step S118, the flow advances to step S120, and determinationis made regarding whether or not transmission of the camera data signalsDCL has been completed. If determination is made in step S120 thattransmission of the camera data signals DCL has been completed, the flowreturns to step S113, and monitoring of whether or not a communicationevent has occurred is continued.

As described above, the present embodiment relates to control ofswitching communication methods in communication control performedbetween the camera main body 200 and interchangeable lens 100 usingthree channels. The communication methods between the camera main body200 and interchangeable lens 100 are switched between theclock-synchronized method (communication method A) and the asynchronousmethod (communication method B).

In the communication method A, the lens microprocessor 111 cansuperimpose BUSY signals on the clock channel. The lens microprocessor111 changes the communication state from the first settingscorresponding to the communication method A to the second settingscorresponding to the communication method B while the BUSY signal isbeing superimposed. The lens microprocessor 111 can change thecommunication state in a state where there will be no output of clocksignals LCLK from the camera microprocessor 205. That is to say, changeof the communication state can be executed without collision ofcommunication occurring between the camera microprocessor 205 and thelens microprocessor 111.

In accordance with change to the second settings at the lensmicroprocessor 111 having been completed, the camera microprocessor 205changes the communication state from the first settings corresponding tothe communication method A to the second settings corresponding to thecommunication method B. Accordingly, in a case where change to thesecond settings cannot be executed at the lens microprocessor 111, asituation where changing of communication states between the firstsettings and the second settings is repeated at the cameramicroprocessor 205 can be avoided.

Switching of communication methods can be executed without leading tobreakdown of communication, without adding new channels, by switchingcommunication methods between the camera main body 200 andinterchangeable lens 100 by the procedures described above.

The above-described embodiment is only a representative example, andvarious modifications and alterations may be made to the embodimentswhen carrying out the present invention. For example, although anexample of using an interchangeable lens as the accessory device hasbeen illustrated in the above embodiment, a strobe or the like may beused as long as having function of communicating with the imagingapparatus.

The present invention can also be realized by processing of a programrealizing one or more of functions of the above-described embodimentbeing supplied to a system or apparatus via a network or recordingmedium, and one processor or more in the system or apparatus in thecomputer reading out and executing the program. This can also berealized by a circuit having one or more function (e.g., an ASIC).

According to the present invention, an accessory device and imagingapparatus capable of executing switching of communication methodswithout leading to breakdown of communication, without adding newchannels, can be obtained.

While the present invention has been described with reference toexemplary embodiments, it is to be understood that the invention is notlimited to the disclosed exemplary embodiments. The scope of thefollowing claims is to be accorded the broadest interpretation so as toencompass all such modifications and equivalent structures andfunctions.

The invention claimed is:
 1. An accessory device detachably mountable toan imaging apparatus, the accessory device comprising; an accessorycommunication unit that provides, between itself and the imagingapparatus, channels including a notification channel used fornotification between the imaging apparatus and the accessory device: andan accessory control unit that performs control of the accessorycommunication unit, wherein the accessory device is capable of switchingbetween first settings corresponding to a clock-synchronizedcommunication method that is synchronized with clock signals, and secondsettings corresponding to an asynchronous communication method, wherein,in accordance with receiving a notification for switching from the firstsettings to the second settings from the imaging apparatus in the firstsettings, the accessory control unit transmits a communication standbyrequest signal to the imaging apparatus via the notification channel,the communication standby request signal being a signal for preventingdata communication from the imaging apparatus to the accessory device,and wherein the accessory control unit performs switching from the firstsettings to the second settings while transmitting the communicationstandby request signal.
 2. The accessory device according to claim 1,wherein the communication standby request signal is transmitted bychanging a voltage level of the channel.
 3. The accessory deviceaccording to claim 2, wherein the accessory control unit transmits thecommunication standby request signal by changing the voltage level froma first level to a second level that is lower than the first level. 4.The accessory device according to claim 1, wherein the accessory controlunit transmits a notification to the imaging apparatus that switching tothe second settings has been completed, in accordance with switchingfrom the first settings to the second settings at the accessory devicehaving been completed.
 5. The accessory device according to claim 4,wherein the accessory control unit notifies the imaging apparatus thatswitching to the second settings has been completed, by endingtransmission of the communication standby request signal.
 6. Theaccessory device according to claim 5, wherein the accessory controlunit ends transmission of the communication standby request signal bychanging the voltage level of the notification channel.
 7. The accessorydevice according to claim 1, wherein, after completion of switching fromthe first settings to the second settings at the accessory device, theaccessory control unit starts data transmission from the accessorydevice to the imaging apparatus in accordance with having received atransmission request signal, requesting data transmission from theaccessory device to the imaging apparatus, from the imaging apparatusvia the notification channel.
 8. The accessory device according to claim1, wherein the channels include an accessory data communication channelused for transmission of data from the accessory device to the imagingapparatus, the accessory device notifies the imaging apparatus of thecommunication standby request signal via the notification channel in thefirst settings, and notifies the imaging apparatus of the communicationstandby request via the accessory data communication channel in thesecond settings.
 9. The accessory device according to claim 8, wherein,in the second settings, the accessory control unit adds thecommunication standby request signal to a data frame to be transmittedvia the accessory data communication channel.
 10. The accessory deviceaccording to claim 8, wherein the channels are made up of thenotification channel, the accessory data communication channel used fordata transmission from the accessory device to the imaging apparatus,and an imaging apparatus data communication channel used for datatransmission from the imaging apparatus to the accessory device.
 11. Theaccessory device according to claim 1, including an imaging opticalsystem capable of forming a subject image on an imaging device that theimaging apparatus has.
 12. An imaging apparatus to which an accessorydevice is detachably mountable, the imaging apparatus comprising; animaging apparatus communication unit that provides, between itself andthe accessory device, channels including a notification channel used fornotification from the imaging apparatus to the accessory device: and animaging apparatus control unit that performs control of the imagingapparatus communication unit, wherein the imaging apparatus and theaccessory device are each capable of switching between first settingscorresponding to a clock-synchronized communication method that issynchronized with clock signals, and second settings corresponding to anasynchronous communication method, wherein the imaging apparatus controlunit performs switching from the first settings to the second settingsat the imaging apparatus, in response to receiving from the accessorydevice via the notification channel a notification indicating completionof switching from the first settings to the second settings at theaccessory device.
 13. The imaging apparatus according to claim 12,wherein the channels include an imaging apparatus data communicationchannel used for data transmission from the imaging apparatus to theaccessory device, and the imaging apparatus control unit transmits anotification for switching from the first settings to the secondsettings to the accessory device, via the imaging apparatus datacommunication channel.
 14. The imaging apparatus according to claim 12,wherein, after switching from the first settings to the second settingshas been completed at the imaging apparatus, the imaging apparatuscontrol unit transmits a transmission request signal requesting datatransmission from the accessory device to the imaging device, to theaccessory device via the notification channel.
 15. The imaging apparatusaccording to claim 12, wherein the channels include an accessory datacommunication channel used for data transmission from the accessorydevice to the imaging apparatus, and in the first settings, the imagingapparatus control unit receives a communication standby request signalfrom the accessory device, for preventing data communication from theimaging apparatus to the accessory device, via the notification channel,and in the second settings, receives the communication standby requestsignal from the accessory device via the accessory data communicationchannel.
 16. The imaging apparatus according to claim 15, wherein thecommunication standby request signal is attached to a data framereceived via the accessory data communication channel in the secondsettings.
 17. The imaging apparatus according to claim 15, wherein thechannels are made up of the notification channel, the accessory datacommunication channel used for data transmission from the accessorydevice to the imaging apparatus, and an imaging apparatus datacommunication channel used for data transmission from the imagingapparatus to the accessory device.
 18. The imaging apparatus accordingto claim 15, wherein the communication standby request signal isexpressed by changing the voltage level of the accessory datacommunication channel.
 19. The imaging apparatus according to claim 18,wherein the imaging apparatus control unit starts a communicationstandby state where the transmission request signal is not transmitted,in response to the voltage level of the accessory data communicationchannel having been changed from a first level to a second level lowerthan the first level.
 20. The imaging apparatus according to claim 19,wherein the imaging apparatus control unit ends the communicationstandby state where the transmission request signal is not transmitted,in response to the voltage level of the accessory data communicationchannel having been changed from the second level to the first level.21. A non-transitory storage medium storing a communication controlprogram for causing a computer of an accessory device, detachablymountable to an imaging apparatus, the accessory device being capable ofswitching between first settings corresponding to a clock-synchronizedcommunication method that is synchronized with clock signals, and secondsettings corresponding to an asynchronous communication method, andproviding, between itself and the imaging apparatus, channels includinga notification channel used for notification from the imaging apparatusto the accessory device, to execute a step of receiving a notificationfor switching from the first settings to the second settings from theimaging apparatus, in the first settings, and a step of transmitting, tothe imaging apparatus via the notification channel, a communicationstandby request signal for preventing data communication from theimaging apparatus to the accessory device, and performing switching fromthe first settings to the second settings while transmitting thecommunication standby request signal.
 22. A non-transitory storagemedium storing a communication control program for causing a computer ofan imaging apparatus to which an accessory device is detachablymountable, the imaging apparatus being capable of switching betweenfirst settings corresponding to a clock-synchronized communicationmethod that is synchronized with clock signals, and second settingscorresponding to an asynchronous communication method, and providing,between itself and the accessory device, channels including anotification channel used for notification from the imaging apparatus tothe accessory device, to execute a step of receiving from the accessorydevice via the notification channel a notification indicating completionof switching from the first settings to the second settings at theaccessory device, and a step of switching from the first settings to thesecond settings at the imaging apparatus, in response to having receivedthe notification indicating completion of switching from the firstsettings to the second settings at the accessory device.
 23. An imagingsystem including an imaging apparatus, and an accessory devicedetachably mountable to the imaging apparatus, the accessory devicehaving an accessory communication unit that provides, between itself andthe imaging apparatus, channels including a notification channel usedfor notification from the imaging apparatus to the accessory device, andan accessory control unit that performs control of the accessorycommunication unit, the imaging apparatus having an imaging apparatuscommunication unit that provides, between itself and the accessorydevice, channels including the notification channel, and an imagingapparatus control unit that performs control of the imaging apparatuscommunication unit, wherein the imaging apparatus and the accessorydevice are each capable of switching a communication state thereofbetween first settings corresponding to a clock-synchronizedcommunication method that is synchronized with clock signals, and secondsettings corresponding to an asynchronous communication method, wherein,the accessory control unit transmits, to the imaging apparatus via thenotification channel, a communication standby request signal forpreventing data communication from the imaging apparatus to theaccessory device, and the accessory control unit performs switching fromthe first settings to the second settings while transmitting thecommunication standby request signal, and wherein the camera controlunit performs switching from the first settings to the second settingsat the imaging apparatus in accordance with receiving from the accessorydevice via the notification channel a notification indicating completionof switching from the first settings to the second settings at theaccessory device.